let fib1: number[] = [1,2,3,4,5]
// let fibonacci: number[] = [1, '1', 2, 3, 5];
// fib1.push("1")

let fibAny: Array<number> = [1,2,3,4,5]
// 接口也可以用来描述数组
interface NumberArray {
    [index: number]:number
}
let fibInter: NumberArray = [1,1,1,2,4]
// 类数组
function sum1(){
    let args: {
        [index:number]: number;
        length: number;
        callee: Function;
    } = arguments
    console.log(args)
}